/**
 *    This program is free software; you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
 *    the Free Software Foundation; either version 2 of the License, or
 *    (at your option) any later version.
 *
 *    This program is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with this program; if not, write to the Free Software
 *    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *    
 *    Linking this library statically or dynamically with other modules 
 *    is making a combined work based on this library. Thus, the terms and
 *    conditions of the GNU General Public License cover the whole
 *    combination.
 *    
 *    As a special exception, the copyright holders of this library give 
 *    you permission to link this library with independent modules to 
 *    produce an executable, regardless of the license terms of these 
 *    independent modules, and to copy and distribute the resulting 
 *    executable under terms of your choice, provided that you also meet, 
 *    for each linked independent module, the terms and conditions of the 
 *    license of that module.  An independent module is a module which 
 *    is not derived from or based on this library.  If you modify this 
 *    library, you may extend this exception to your version of the 
 *    library, but you are not obligated to do so.  If you do not wish 
 *    to do so, delete this exception statement from your version.
 *
 *    Project: Financas Pessoais
 *    Author : Igor Salles
 */
package org.fp.model;

import java.util.Date;

/**
 *
 * @author Igor Salles
 */
public class Record {
    //fields of record
    private int id;
    private int banco;
    private int agencia;
    private int opcao;
    private int conta;
    private Date data;
    private int agenciaOrigem;
    private String historico;
    private String detalhamento;
    private String documento;
    private Double valor;
    private String registro;
    private Character natureza;
    private int category;
    //

    
    public Record() {
    }

    //construtor para registros da caixa economica.
    public Record(int id, int banco, int agencia, int opcao,
            int conta, Date data, int agenciaOrigem,
            String historico, String documento, Double valor,
            String registro, Character natureza) {
        this.id = id;
        this.banco = banco;
        this.agencia = agencia;
        this.opcao = opcao;
        this.conta = conta;
        this.data = data;
        this.agenciaOrigem = agenciaOrigem;
        this.historico = historico;
        this.detalhamento = historico;
        this.documento = documento;
        this.valor = valor;
        this.registro = registro;
        this.natureza = natureza;
    }

        
    //setters
    public void setNatureza(Character natureza) {
        this.natureza = natureza;
    }

    public void setAgencia(int agencia) {
        this.agencia = agencia;
    }

    public void setAgenciaOrigem(int agenciaOrigem) {
        this.agenciaOrigem = agenciaOrigem;
    }

    public void setBanco(int banco) {
        this.banco = banco;
    }

    public void setConta(int conta) {
        this.conta = conta;
    }

    public void setData(Date data) {
        this.data = data;
    }

    public void setDetalhamento(String detalhamento) {
        this.detalhamento = detalhamento;
    }

    public void setDocumento(String documento) {
        this.documento = documento;
    }

    public void setHistorico(String historico) {
        this.historico = historico;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setOpcao(int opcao) {
        this.opcao = opcao;
    }

    public void setRegistro(String registro) {
        this.registro = registro;
    }

    public void setValor(Double valor) {
        this.valor = valor;
    }

    
    //getters
    public Character getNatureza() {
        return natureza;
    }

    public int getAgencia() {
        return agencia;
    }

    public int getAgenciaOrigem() {
        return agenciaOrigem;
    }

    public int getBanco() {
        return banco;
    }

    public int getConta() {
        return conta;
    }

    public Date getData() {
        return data;
    }

    public String getDetalhamento() {
        return detalhamento;
    }

    public String getDocumento() {
        return documento;
    }

    public String getHistorico() {
        return historico;
    }

    public int getId() {
        return id;
    }

    public int getOpcao() {
        return opcao;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public String getRegistro() {
        return registro;
    }

    public Double getValor() {
        return valor;
    }                     
}
